From: Felix Krull Date: Thu, 31 Oct 2019 14:12:04 +0000 (+0100) Subject: Fix lint in tests X-Git-Tag: archive/raspbian/2022.4-1+rpi1^2~9^2^2~20^2~176 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=bf27ba5dc0e8e965e0d69a6d5f98d9a6a480164f;p=ostree.git Fix lint in tests --- diff --git a/rust-bindings/rust/tests/repo/mod.rs b/rust-bindings/rust/tests/repo/mod.rs index 16d52737..b4e4392c 100644 --- a/rust-bindings/rust/tests/repo/mod.rs +++ b/rust-bindings/rust/tests/repo/mod.rs @@ -120,7 +120,7 @@ fn copy_file(src: &TestRepo, dest: &TestRepo, obj: &ObjectName) { assert_eq!(out_csum.to_string(), obj.checksum()); } -fn copy_metadata(src: &TestRepo, dest: &TestRepo, obj: &ObjectName) -> () { +fn copy_metadata(src: &TestRepo, dest: &TestRepo, obj: &ObjectName) { let data = src .repo .load_variant(obj.object_type(), obj.checksum())